
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%@page import="com.tss.util.*"%>
<%@page import="com.jedi.*"%>
<%@page import="com.store.*"%>
<%@page import="java.util.*"%>
<%@page import="java.text.*"%>
<%@page import="com.store.ApproveExpMgr"%>
<%@page import="com.store.ApproveExp"%>
<%@include file="../global_var.jsp"%>
<%@include file="../check_login.jsp"%>
<%
User just_user = (User)session.getAttribute("LoginUser");
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
ApproveExpMgr approveMgr = new ApproveExpMgr();
String strErr = "";
String list_id = ParamUtils.getParameter(request,"list_id","");
ApproveExp approve = approveMgr.get(list_id);
if (approve == null || approve.getId().trim().equals("")) 
	strErr = "该记录不存在!";
%>
<html>
<head>
  <base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
   <link href="style/main.css" rel="stylesheet" type="text/css">
<script language="javascript" src="js/common.js"></script>
<script language="javascript">
function clk_goback() {
	history.back();
}
</script>
</head>
<body  leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td >
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="31" valign="top" background="images/title_bk_01.gif" style="padding-left:10px;padding-top:6px;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="50%" style="color:#FFFFFF;font-size:13px;">
                  <b>客户满意度</b> -&gt; 
                  <b>详细信息</b>
                </td>
                <td width="50%" align="right" style="padding-right:10px;">&nbsp;
                  &nbsp;
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td height="100" align="center" valign="top" style="padding-top:20px;padding-bottom:10px;">
            <table width="80%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
              <tr> 
                <td height="30" align="center" bgcolor="#EDEDF0" colspan="2">
                  满意度详细信息
                </td>
              </tr>
              <%if (!strErr.trim().equals("")) {%>
              <tr> 
                <td width="30%" height="28" align="right" bgcolor="#858585"><font color="#FFFFFF">错误提示：</font></td>
                <td bgcolor="#EDEDF0"><font color=red><%=strErr%></font>&nbsp;</td>
              </tr>
              <%}%>
              <%
              if (approve != null && !approve.getId().equals("")) {
              %>
              <tr> 
                <td width="30%" height="24" align="right" bgcolor="#858585"><font color="#FFFFFF">工程师：</font></td>
                <td bgcolor="#D7D7DB"><%=approve.getUserName()%></td>
              </tr>
              <tr> 
                <td height="24" align="right" bgcolor="#858585"><font color="#FFFFFF">项目名称：</font></td>
                <td bgcolor="#D7D7DB"><%=approve.getProject_name()%></td>
              </tr>
              <tr> 
                <td height="24" align="right" bgcolor="#858585"><font color="#FFFFFF">客户打分：</font></td>
                <td bgcolor="#D7D7DB"><%=approve.getApproveVal()%></td>
              </tr>
              <tr> 
                <td height="24" align="right" bgcolor="#858585"><font color="#FFFFFF">投诉情况：</font></td>
                <td bgcolor="#D7D7DB">
                  销售人员：<%=(approve.getAppealSales() == 1) ? "投诉":"未投诉"%> &nbsp;&nbsp;
                  客户：<%=(approve.getAppealCust() == 1) ? "投诉":"未投诉"%>
                </td>
              </tr>
              <!--
              <tr> 
                <td height="24" align="right" bgcolor="#858585"><font color="#FFFFFF">添加人：</font></td>
                <td bgcolor="#D7D7DB">
                  <%=approve.getAuthorName()%> [<%=approve.getAuthorId()%>]
                </td>
              </tr>
              //-->
              <tr> 
                <td height="24" align="right" bgcolor="#858585"><font color="#FFFFFF">日期：</font></td>
                <td bgcolor="#D7D7DB">
                  <%=approve.getExpTime()%>
                </td>
              </tr>
              <tr> 
                <td height="24" align="right" bgcolor="#858585"><font color="#FFFFFF">描述：</font></td>
                <td bgcolor="#D7D7DB"><%=approve.getExpDesc().replaceAll("\n","<br>")%></td>
              </tr>
              <tr> 
                <td height="24" align="right" bgcolor="#EDEDF0">&nbsp;</td>
                <td bgcolor="#EDEDF0">
                  <input type="button" onclick="clk_goback();" name="btn" value="返　回" class="inputButton"> 
                </td>
              </tr>
              <%}%>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>